WARNING: This program has a bug. Even though it runs, it doesn't do what we want. This bug is called a logic error.

Rule: Logic errors cause programs to run incorrectly. Working programs accomplish a goal.

  • Click Run and see what happens.
  • Debug this program so that the person sprite glides to the bike!
  • Remember, in a coordinate pair the x-coordinate goes first and the y-coordinate goes second.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)